import React from 'react';
import {createRoot} from 'react-dom/client';
import './index.css';
import App from './page/app.jsx';
import {BrowserRouter} from "react-router-dom"
import store from './store';
import {Provider} from "react-redux"
import 'react-vant/lib/index.css';
const box = document.getElementById("root")
const app1 = createRoot(box)
app1.render(
  <Provider store = {store}>
        <BrowserRouter>
         <App></App>
      </BrowserRouter>
  </Provider>
  
       
  )

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals

